package com.heima.model.user.pojos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * brand
 * </p>
 * @author itheima
 */
@Data
@TableName("tb_brand")
public class Brand implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("id")
    @TableId(value = "id", type = IdType.AUTO)
	private Long id; //id



    @ApiModelProperty("品牌编码")
    @TableField("code")
	private String code;//品牌编码

    @ApiModelProperty("品牌名称")
    @TableField("name")
	private String name;//品牌名称

    @ApiModelProperty("排序")
    @TableField("sort")
	private Integer sort;//排序

    @ApiModelProperty("LOGO地址")
    @TableField("logo_url")
	private String logoUrl;//LOGO地址

    @ApiModelProperty("首字母")
    @TableField("first_char")
	private String firstChar;//首字母



}
